package cn.znzz.cjm.org.mapper;

import cn.znzz.cjm.basic.mapper.BaseMapper;
import cn.znzz.cjm.org.domain.Department;

import java.util.List;

/**
 * 定义部门 数据库操作接口
 */
public interface DepartmentMapper extends BaseMapper<Department>{

    //基本的curd被抽取

    //查询部门树，一级二级
    List<Department> queryTree();
}
